<?php
/**
 * 记录
 * @return
 * @author yuncran@126.com
 */

namespace app\model;

use app\BaseModel;

class UserMoneyLogModel extends BaseModel
{

    protected $pk = "id";

    protected $name = "user_money_log";


    public function getCreatetimeAttr($value)
    {
        return !empty($value) ? date('Y-m-d H:i:s', $value) : date('Y-m-d H:i:s', time());
    }

}